package com.bw.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.entity.order.PiOrder;
import com.bw.entity.order.center.OrderAndPrice;
import com.bw.req.OrderPri;
import com.bw.req.XsPhoto;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yzz
 * @since 2020-06-20
 */
public interface IPiOrderService extends IService<PiOrder> {

    void improtPic(MultipartFile file, String code) throws Exception;

    InputStream preView(String orderCode, String itemCode) throws FileNotFoundException;

    OrderPri findList(Long id);

    List<PiOrder> getOrderAndPrice();
	
    List<XsPhoto> getXsPhoto();

    List<XsPhoto> getmake();

    List<XsPhoto> getcustomer();
}
